<style lang='scss'>
	.excel-table {
		background-color: #fff;
		width: 100%;
		border-collapse: collapse;
		td {
			border: 1px solid #217346;
			text-align: center;
			line-height: 30px;
		}
		.format-text {
			font-size: 50%;
			color: #C1C1C1;
		}
	}
</style>
<template>
	<table class="excel-table">
		<tbody>
			<tr>
				<td>序号<span class="format-text">‹唯一›</span></td>
				<td>工号<span class="format-text">‹唯一›</span></td>
				<td v-for="title in data" :class="title.status==2?'hidden':''">{{title.label}}
					<span v-if="title.format" class="format-text">‹{{title.format}}›</span>
				</td>
			</tr>
		</tbody>
	</table>
</template>
<script>
	export default {
		props: {
			data: {
				default: []
			}
		}
	}
</script>